package com.xmy.cultivate.entity.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class BookSchoolRs implements Serializable {

    Long id;

    Long schoolId;

    String schoolName;

    Long orderId;

    String batchName;

    Long subjectsId;

    String subjectsName;

    Long classTypeId;

    Long teacherId;

    Long gradeId;

    Long studentId;

    Integer yearClassId;

    String yearClassName;

    Integer count;

    Integer fetchStatus;

    // 发放状态，0未发放，1已发放
    Integer infoStatus;

    LocalDateTime fetchDateTime;

    // 发放时间
    LocalDateTime grantDateTime;

    Integer orderStatus;

    Integer yearPart;

    Integer quarterNum;

    Integer orderCount;

    Integer disStatus;  //发放状态

    Integer inventoryCount;  //库存数量

    String teacherName;

    String studentName;

    String classTypeName;

    String gradeName;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    LocalDateTime createdAt;

    List<BookSchoolCountRs> bookCountList;

}
